Skip to content

675.force compile option#762

Draft
singhd789 wants to merge 15 commits intomainfrom
675.force-compile-option
Draft

675.force compile option#762
singhd789 wants to merge 15 commits intomainfrom
675.force-compile-option

Conversation

@singhd789
Copy link
Contributor

@singhd789 singhd789 commented Mar 4, 2026

Describe your changes

  • add --force-compile to fre make compile-script and fre make all
  • update tests to include force options
  • add test to check for correct output when using --force-compile
  • update documentation for fre/make/gfdlfremake/yamlfre.py, fre/make/gfdlfremake/buildBaremetal.py
  • some changes are literally just spacing/formatting (I can undo these if it's too much)

Issue ticket number and link (if applicable)

#675

Checklist before requesting a review

  • I ran my code
  • I tried to make my code readable
  • I tried to comment my code
  • I wrote a new test, if applicable
  • I wrote new instructions/documentation, if applicable
  • I ran pytest and inspected it's output
  • I ran pylint and attempted to implement some of it's feedback
  • No print statements; all user-facing info uses logging module

@singhd789 singhd789 linked an issue Mar 4, 2026 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Mar 4, 2026

Codecov Report

❌ Patch coverage is 89.41176% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.18%. Comparing base (ad432b1) to head (779e38e).

Files with missing lines Patch % Lines
fre/make/gfdlfremake/yamlfre.py 42.85% 4 Missing ⚠️
fre/make/create_compile_script.py 95.83% 2 Missing ⚠️
fre/make/create_checkout_script.py 87.50% 1 Missing ⚠️
fre/make/gfdlfremake/buildBaremetal.py 90.00% 1 Missing ⚠️
fre/make/run_fremake_script.py 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #762      +/-   ##
==========================================
+ Coverage   84.08%   84.18%   +0.10%     
==========================================
  Files          70       70              
  Lines        4775     4793      +18     
==========================================
+ Hits         4015     4035      +20     
+ Misses        760      758       -2     
Flag Coverage Δ
unittests 84.18% <89.41%> (+0.10%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
fre/__init__.py 100.00% <100.00%> (ø)
fre/make/create_makefile_script.py 98.03% <100.00%> (+0.03%) ⬆️
fre/make/fremake.py 95.45% <100.00%> (+0.14%) ⬆️
fre/make/create_checkout_script.py 89.74% <87.50%> (+1.28%) ⬆️
fre/make/gfdlfremake/buildBaremetal.py 94.23% <90.00%> (-0.22%) ⬇️
fre/make/run_fremake_script.py 94.73% <75.00%> (-2.33%) ⬇️
fre/make/create_compile_script.py 95.45% <95.83%> (-2.59%) ⬇️
fre/make/gfdlfremake/yamlfre.py 80.19% <42.85%> (+3.49%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ad432b1...779e38e. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add force-compile options in fre make subtools

1 participant